package fr.sharpe.app.earthvisualizationdatamodel.services;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import fr.sharpe.app.earthvisualizationdatamodel.MarkerPoint;
import fr.sharpe.app.earthvisualizationdatamodel.Surface;
import fr.sharpe.app.earthvisualizationdatamodel.Text;


public interface RmiServices extends Remote{

	public void addMarkers(String layerName, ArrayList<MarkerPoint> markers) throws RemoteException ;
	public void addSurfaces(String layerName,ArrayList<Surface> surfaces) throws RemoteException ;
	public void addTexts(String layerName,ArrayList<Text> texts) throws RemoteException ;
	public void addIcons(String layerName,ArrayList<Surface> icons) throws RemoteException ;
	public void deleteLayer(String layerName) throws RemoteException ;
//	public boolean makeLinkWithPeer(String address, long port, boolean isInit) throws RemoteException;
//	public HashSet<PeerHost> getListAvailablePeers() throws RemoteException ;
//	public void removePeer(PeerHost peerToRemove) throws RemoteException;
//	public void ping() throws RemoteException;
//	
//	public void saveData(long id, String data)throws RemoteException;
//	public void saveSplittedData(DataSplitted data)throws RemoteException;
//	public DataSplitted getSplittedData(long id)throws RemoteException;
//	public String getData(long id)throws RemoteException;
//	public void removeData(long id)throws RemoteException;
//	public ArrayList<Long> getListIdFiles()throws RemoteException;
//	public void addString(long id, String data);
//	public String getString(long id);
//	public void removeString(long id);

	
}
